<?php
/**
 * @link http://www.tintsoft.com/
 * @copyright Copyright (c) 2013 TintSoft LLC
 * @license http://www.tintsoft.com/license/
 */
// comment out the following two lines when deployed to production
defined('LEAPS_DEBUG') or define('LEAPS_DEBUG', true);
defined('LEAPS_ENV') or define('LEAPS_ENV', 'dev');
require(__DIR__ . '/protected/vendor/autoload.php');
require(__DIR__ . '/framework/leaps/src/Leaps/Leaps.php');
$config = require(__DIR__ . '/protected/config/api.php');
$application = new Leaps\Api\Application($config);
$application->run();